inherited fmFactoryInquireInfo: TfmFactoryInquireInfo
  Caption = #24037#21378#35810#20215#36164#26009
  ExplicitHeight = 593
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    inherited lblCreateDate: TRzDBLabel
      Left = 699
      Top = 360
      DataField = 'dfi_createdate'
      DataSource = dsBase
      ExplicitLeft = 699
      ExplicitTop = 360
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 699
      Top = 340
      DataField = 'dfi_createstaff'
      DataSource = dsBase
      ExplicitLeft = 699
      ExplicitTop = 340
    end
    object cxDBLabel1: TRzDBLabel [2]
      Left = 407
      Top = 340
      Width = 100
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dfi_state'
      DataSource = dsBase
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 563
      Top = 360
      DataField = 'dfi_modifydate'
      ExplicitLeft = 563
      ExplicitTop = 360
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 563
      Top = 340
      DataField = 'dfi_modifystaff'
      ExplicitLeft = 563
      ExplicitTop = 340
    end
    object cxDBTextEdit4: TRzDBEdit [5]
      Left = 59
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_ftel'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 3
    end
    object cxDBTextEdit5: TRzDBEdit [6]
      Left = 255
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_ffax'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 7
    end
    object cbxCurrency: TRzDBComboBox [7]
      Left = 451
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dfi_mcode'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 10
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBDateEdit2: TRzDBDateTimeEdit [8]
      Left = 255
      Top = 100
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_replydate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 8
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit11: TRzDBEdit [9]
      Left = 59
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_no'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 0
    end
    object cxDBMemo1: TRzDBMemo [10]
      Left = 647
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dfi_remark'
      DataSource = dsBase
      TabOrder = 16
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit1: TRzDBEdit [11]
      Left = 514
      Top = 52
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_rate'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 11
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [12]
      Left = 451
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_date'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit3: TRzDBEdit [13]
      Left = 255
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_linkman'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
    end
    object RzDBEdit1: TRzDBEdit [14]
      Left = 122
      Top = 52
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_fsimpname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
    end
    object cbxCompany: TRzDBComboBox [15]
      Left = 255
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dfi_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 5
    end
    object cxDBTextEdit2: TRzDBEdit [16]
      Left = 59
      Top = 52
      Width = 60
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_fno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    inherited pcDetails: TcxPageControl
      Top = 158
      Width = 770
      Height = 170
      TabOrder = 17
      ExplicitTop = 158
      ExplicitWidth = 770
      ExplicitHeight = 170
      ClientRectBottom = 170
      ClientRectRight = 770
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 770
        ExplicitHeight = 170
        inherited grdDetails: TcxGrid
          Width = 770
          Height = 170
          RootLevelOptions.DetailTabsPosition = dtpTop
          ExplicitWidth = 770
          ExplicitHeight = 170
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              DataBinding.FieldName = 'dfid_serial'
              Visible = False
              HeaderAlignmentHorz = taCenter
              Options.Filtering = False
              SortIndex = 0
              SortOrder = soAscending
              Width = 37
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20869#37096#32534#21495
              DataBinding.FieldName = 'dfid_productno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.OnButtonClick = tvDetailsColumn2PropertiesButtonClick
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsBuyPrice: TcxGridDBBandedColumn [2]
              Caption = #37319#36141#21333#20215
              DataBinding.FieldName = 'dfid_buyprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = ',0.00;-,0.00'
              Width = 74
              Position.BandIndex = 1
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsMyPrice: TcxGridDBBandedColumn [3]
              Caption = #24515#37324#20215
              DataBinding.FieldName = 'dfid_wantprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 74
              Position.BandIndex = 1
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn [4]
              Caption = #20135#21697#21517
              DataBinding.FieldName = 'dfid_productsimpname'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn [5]
              Caption = #20132#36135#26102#38388
              DataBinding.FieldName = 'dfid_deliverdate'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsColumn10: TcxGridDBBandedColumn [6]
              Caption = #22411#21495#25551#36848
              DataBinding.FieldName = 'dfid_desc'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsUnit: TcxGridDBBandedColumn [7]
              Caption = #35745#37327#21333#20301
              DataBinding.FieldName = 'dfid_unit'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 78
              Position.BandIndex = 1
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsColumn13: TcxGridDBBandedColumn [8]
              Caption = #39044#35745#25968#37327
              DataBinding.FieldName = 'dfid_qty'
              Width = 81
              Position.BandIndex = 1
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsColumn14: TcxGridDBBandedColumn [9]
              Caption = #22791#27880
              DataBinding.FieldName = 'dfid_remark'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 1
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 4
            end
            object tvDetailsColumn11: TcxGridDBBandedColumn
              Caption = #20135#21697#22411#21495
              DataBinding.FieldName = 'dfid_productrealno'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dfid_productcnname'
              Visible = False
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dfid_productenname'
              Visible = False
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dfid_productcnname'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dfid_productenname'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
          end
          object tvDetails2: TcxGridDBTableView [1]
            OnKeyDown = tvDetails2KeyDown
            Navigator.Buttons.CustomButtons = <>
            Navigator.Buttons.PriorPage.Visible = False
            Navigator.Buttons.NextPage.Visible = False
            Navigator.Buttons.Edit.Visible = True
            Navigator.Buttons.Refresh.Visible = False
            Navigator.Buttons.SaveBookmark.Visible = False
            Navigator.Buttons.GotoBookmark.Visible = False
            Navigator.Buttons.Filter.Visible = False
            Navigator.Visible = True
            DataController.DataSource = dsDetails2
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsView.NavigatorOffset = 0
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            OptionsView.IndicatorWidth = 30
            object tvDetails2TraceInfo: TcxGridDBColumn
              Caption = #36319#36394#20449#24687
              DataBinding.FieldName = 'dot_state'
              Width = 240
            end
            object tvDetails2Date: TcxGridDBColumn
              Caption = #26102#38388
              DataBinding.FieldName = 'dot_date'
              Width = 80
            end
            object tvDetails2Column3: TcxGridDBColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'dot_remark'
              Width = 240
            end
            object tvDetails2Column1: TcxGridDBColumn
              Caption = #38468#20214#21517
              DataBinding.FieldName = 'dot_filename'
              Options.Editing = False
              Width = 120
            end
            object tvDetails2Column2: TcxGridDBColumn
              Caption = #38468#20214#25805#20316
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Caption = #28155#21152
                  Default = True
                  Kind = bkText
                end
                item
                  Caption = #21024#38500
                  Kind = bkText
                end
                item
                  Caption = #21478#23384#20026
                  Kind = bkText
                end
                item
                  Caption = #26597#30475
                  Kind = bkText
                end>
              Properties.ViewStyle = vsButtonsOnly
              Properties.OnButtonClick = tvDetails2Column2PropertiesButtonClick
              Options.ShowEditButtons = isebAlways
              Width = 160
            end
            object tvDetails2Last: TcxGridDBColumn
            end
          end
          inherited lvDetails: TcxGridLevel
            Caption = #35810#20215#20135#21697#26126#32454
          end
          object lvDetails2: TcxGridLevel
            Caption = #35810#20215#36319#36394#20449#24687
            GridView = tvDetails2
          end
        end
      end
    end
    object RzDBMemo1: TRzDBMemo [18]
      Left = 647
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dfi_desc'
      DataSource = dsBase
      TabOrder = 13
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cbxStaff: TRzDBComboBox [19]
      Left = 647
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dfi_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 14
    end
    object RzDBEdit3: TRzDBEdit [20]
      Left = 451
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_projectno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 12
    end
    object RzDBEdit4: TRzDBEdit [21]
      Left = 59
      Top = 100
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dfi_batchno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
    end
    object cbxDepartment: TRzDBComboBox [22]
      Left = 710
      Top = 52
      Width = 57
      Height = 21
      DataField = 'dfi_department'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 15
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      CaptionOptions.Text = #35810#20215#20135#21697#26126#32454
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 2
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #35810#20215#21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit11
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup2: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem4: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24037#21378
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcMainGroup2
      Control = cxDBTextEdit2
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem4CaptionClick
      Index = 0
    end
    object lcMainItem16: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup2
      Control = RzDBEdit1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #30005#35805
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit4
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem18: TdxLayoutItem
      CaptionOptions.Text = #25209#21495
      Parent = lcgBaseInfoLeft
      Control = RzDBEdit4
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem17: TdxLayoutItem
      CaptionOptions.Text = #20844#21496
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoMiddle
      Control = cbxCompany
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #32852#31995#20154
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem5CaptionClick
      Index = 1
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #20256#30495
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit5
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #22238#22797#26085#26399
      Parent = lcgBaseInfoMiddle
      Visible = False
      Control = cxDBDateEdit2
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #35810#20215#26085#26399
      Parent = lcgBaseInfoRight
      Control = cxDBDateEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup1: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem8: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24065#21035
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup1
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem15: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup1
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem12: TdxLayoutItem
      CaptionOptions.Text = #30456#20851#39033#30446
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = RzDBEdit3
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem12CaptionClick
      Index = 2
    end
    object lcMainItem9: TdxLayoutItem
      CaptionOptions.Text = #35810#20215#35828#26126
      Parent = lcgBaseInfoLast
      Control = RzDBMemo1
      Index = 0
    end
    object lcMainGroup3: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgBaseInfoLast
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem10: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #19994#21153#21592
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup3
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoLast
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem14: TdxLayoutItem
      CaptionOptions.Text = #21333#25454#29366#24577
      Parent = lcgArchive
      Control = cxDBLabel1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem11: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup3
      Control = cbxDepartment
      ControlOptions.ShowBorder = False
      Index = 1
    end
  end
  inherited pnlRight: TPanel
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited BarManager: TdxBarManager
    Left = 222
    Top = 224
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnBill'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnRemind'
        end>
    end
    inherited bbtnCopy: TdxBarButton
      Visible = ivAlways
    end
    object bbtnBill: TdxBarSubItem
      Caption = #21333#25454#22788#29702
      Category = 0
      Visible = ivAlways
      ImageIndex = 194
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxBarButton1'
        end
        item
          Visible = True
          ItemName = 'bbtnBillConfirm'
        end
        item
          Visible = True
          ItemName = 'bbtnBillCancel'
        end>
    end
    object bbtnBillConfirm: TdxBarButton
      Caption = #24050#23436#25104#35810#20215
      Category = 0
      Hint = #24050#23436#25104#35810#20215
      Visible = ivAlways
      OnClick = bbtnBillConfirmClick
    end
    object bbtnBillCancel: TdxBarButton
      Caption = #24050#21462#28040#35810#20215
      Category = 0
      Hint = #24050#21462#28040#35810#20215
      Visible = ivNever
      OnClick = bbtnBillCancelClick
    end
    object dxBarButton1: TdxBarButton
      Caption = #35810#20215#20013
      Category = 0
      Hint = #35810#20215#20013
      Visible = ivAlways
      OnClick = dxBarButton1Click
    end
    object bbtnRemind: TdxBarButton
      Caption = #25552#37266
      Category = 0
      Hint = #25552#37266
      Visible = ivAlways
      ImageIndex = 217
      OnClick = bbtnRemindClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dfi_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dfi_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dfi_date'
        DataType = datDateTime
      end
      item
        Name = 'dfi_replydate'
        DataType = datDateTime
      end
      item
        Name = 'dfi_oid'
        DataType = datGuid
      end
      item
        Name = 'dfi_oiid'
        DataType = datInteger
      end
      item
        Name = 'dfi_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_fid'
        DataType = datGuid
      end
      item
        Name = 'dfi_fno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dfi_fsimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_linkman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_ftel'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_ffax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dfi_rate'
        DataType = datFloat
      end
      item
        Name = 'dfi_inquireqty'
        DataType = datFloat
      end
      item
        Name = 'dfi_qtyestimate'
        DataType = datFloat
      end
      item
        Name = 'dfi_desc'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfi_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfi_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dfi_staffid'
        DataType = datGuid
      end
      item
        Name = 'dfi_staffiid'
        DataType = datInteger
      end
      item
        Name = 'dfi_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dfi_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dfi_projectid'
        DataType = datGuid
      end
      item
        Name = 'dfi_projectno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfi_tracestate'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfi_tracedate'
        DataType = datDateTime
      end
      item
        Name = 'dfi_batchno'
        DataType = datString
        Size = 30
      end>
    LogicalName = 'd_factoryinquire'
    Left = 300
    Top = 154
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
    Left = 334
    Top = 154
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dfid_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dfid_pno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dfid_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dfid_productid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dfid_productno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfid_productrealno'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfid_productsimpname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfid_productcnname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfid_productenname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfid_desc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dfid_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dfid_buyprice'
        DataType = datFloat
      end
      item
        Name = 'dfid_wantprice'
        DataType = datFloat
      end
      item
        Name = 'dfid_deliverdate'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dfid_unit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dfid_qty'
        DataType = datFloat
      end
      item
        Name = 'dfid_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dfid_order'
        DataType = datInteger
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'dfi_id'
    DetailFields = 'dfid_pid'
    LogicalName = 'd_factoryinquiredetails'
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
  object dsDetails2: TDADataSource
    DataSet = tblDetails2.Dataset
    DataTable = tblDetails2
    Left = 140
    Top = 254
  end
  object tblDetails2: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dot_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dot_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dot_state'
        DataType = datString
        Size = 4000
      end
      item
        Name = 'dot_billtype'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dot_billid'
        DataType = datGuid
      end
      item
        Name = 'dot_billno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dot_date'
        DataType = datDateTime
      end
      item
        Name = 'dot_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dot_filename'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dot_fileext'
        DataType = datString
        Size = 30
      end>
    Params = <>
    MasterMappingMode = mmWhere
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    BeforeInsert = tblDetails2BeforeInsert
    BeforeEdit = tblDetails2BeforeEdit
    AfterPost = tblDetails2AfterPost
    BeforeDelete = tblDetails2BeforeDelete
    OnNewRecord = tblDetails2NewRecord
    MasterSource = dsBase
    MasterFields = 'dfi_id'
    DetailFields = 'dot_pid'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_othertrace'
    IndexDefs = <>
    Left = 78
    Top = 254
  end
  object tblBrowser: TDAMemDataTable
    RemoteUpdatesOptions = [ruoOnPost]
    Fields = <
      item
        Name = 'dot_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dot_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dot_filename'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dot_fileext'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dot_file'
        DataType = datBlob
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_othertrace1'
    IndexDefs = <>
    Left = 526
    Top = 280
  end
  object odlgAttachs: TRzOpenDialog
    Left = 560
    Top = 310
  end
  object sdlgAttachs: TRzSaveDialog
    Left = 596
    Top = 310
  end
end
